home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / callvote.cfg < prev    next >
Encoding:
Text File  |  2002-10-29  |  4.5 KB  |  139 lines

  1. // callvote options script
  2. //-------------------------
  3. // This is a server-side file that is used to specify what things can be voted for,
  4. // and what the valid voting options for them are. The options clients are allowed
  5. // to do a callvote on are determined by the settings in this file on the server.
  6.  
  7. // the format is as follows:
  8. // "Option Name" "Command" <Type>
  9. // {
  10. //    "Choice Name 1" "VoteString1"
  11. //    "Choice Name 2" "VoteString2"
  12. //    ...
  13. // }
  14.  
  15. // "Option Name" is the name that will be displayed for that voting option.
  16. // Command is the command that a change will be voted for.
  17. // <Type> is an optional parameter specifying what kind of option it is
  18. // Valid option types are:
  19. //    - "nochoices" : Provides no additional choices are info entry, it just is. (default)
  20. //    - "list" : Provides a list of choices for the option
  21. //    - "text" : Pops up a text entry window for the option
  22. //    - "integer" : Pops up an integer number entry window for the option
  23. //    - "float" : Pops up a floating point number entry window for the option
  24. //    - "client" : Pops up a list of players in the game for the option
  25. //    - "clientnotself" : Pops up a list of other players in the game for the option
  26. // { and } specify the begining and end of a list of choices for a voting
  27. // option. No list should be specified for any type besides list.
  28.  
  29.  
  30. "Free-For-All Map" "g_gametype" list
  31. {
  32.     "Malta - dm/MP_Malta_DM" "1; map dm/MP_Malta_DM"
  33.     "Druckkammern - obj/MP_Druckkammern_TOW" "1;map obj/MP_Druckkammern_TOW"
  34. }
  35.  
  36. "Team-Match Map" "g_gametype" list
  37. {
  38.     "Malta - dm/MP_Malta_DM" "2; map dm/MP_Malta_DM"
  39.     "Druckkammern - obj/MP_Druckkammern_TOW" "2;map obj/MP_Druckkammern_TOW"
  40. }
  41.  
  42. "Round-Based-Match Map" "g_gametype" list
  43. {
  44.     "Malta - dm/MP_Malta_DM" "3; map dm/MP_Malta_DM"
  45.     "Druckkammern - obj/MP_Druckkammern_TOW" "3;map obj/MP_Druckkammern_TOW"
  46. }
  47.  
  48.  
  49. // Loads an objective map and makes sure the game is in objective mode
  50. "Tug-of-War Map" "g_gametype" list
  51. {
  52.     "Druckkammern - obj/MP_Druckkammern_TOW" "5;map obj/MP_Druckkammern_TOW"
  53. }
  54.  
  55. //"Next Map" "nextmap" nochoices
  56.  
  57. //"Disallow Weapon" "" list
  58. //{
  59. //    "Rifle" "g_weapon_rifle 0"
  60. //    "Sniper Rifle" "g_weapon_sniper 0"
  61. //    "Submachinegun" "g_weapon_smg 0"
  62. //    "Machinegun" "g_weapon_mg 0"
  63. //    "Rocket Launcher" "g_weapon_rocket 0"
  64. //    "Shotgun" "g_weapon_shotgun 0"
  65. //}
  66.  
  67. //"Allow Weapon" "" list
  68. //{
  69. //    "Rifle" "g_weapon_rifle 1"
  70. //    "Sniper Rifle" "g_weapon_sniper 1"
  71. //    "Submachinegun" "g_weapon_smg 1"
  72. //    "Machinegun" "g_weapon_mg 1"
  73. //    "Rocket Launcher" "g_weapon_rocket 1"
  74. //    "Shotgun" "g_weapon_shotgun 1"
  75. //}
  76.  
  77. //"Only One Weapon" "" list
  78. //{
  79. //    "Rifle" "g_weapon_rifle 1;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
  80. //    "Sniper Rifle" "g_weapon_rifle 0;g_weapon_sniper 1;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
  81. //    "Submachinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 1;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 0"
  82. //    "Machinegun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 1;g_weapon_rocket 0;g_weapon_shotgun 0"
  83. //    "Rocket Launcher" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 1;g_weapon_shotgun 0"
  84. //    "Shotgun" "g_weapon_rifle 0;g_weapon_sniper 0;g_weapon_smg 0;g_weapon_mg 0;g_weapon_rocket 0;g_weapon_shotgun 1"
  85. //}
  86.  
  87. //"Allow All Weapons" "g_weapon_rifle 1;g_weapon_sniper 1;g_weapon_smg 1;g_weapon_mg 1;g_weapon_rocket 1;g_weapon_shotgun 1" nochoices
  88.  
  89. "Health Drop" "set" list
  90. {
  91.     "On" "g_healthdrop 1"
  92.     "Off" "g_healthdrop 0"
  93. }
  94.  
  95. "Realistic Mode" "set" list
  96. {
  97.     "On" "g_realismmode 1;reloadmap"
  98.     "Off" "g_realismmode 0;reloadmap"
  99. }
  100.  
  101. "Friendly Fire" "set" list
  102. {
  103.     "On" "g_teamdamage 1"
  104.     "Off" "g_teamdamage 0"
  105. }
  106.  
  107. "Score Limit" "fraglimit" integer
  108.  
  109. "Time Limit" "timelimit" integer
  110.  
  111. "Allow Spectator Chat To All" "set" list
  112. {
  113.     "On" "g_spectate_allow_full_chat 1"
  114.     "Off" "g_spectate_allow_full_chat 0"
  115. }
  116.  
  117. "Kick Client" "clientkick" clientnotself
  118.  
  119. "Heal Rate" "set" list
  120. {
  121.     "Instant" "g_healrate 0"
  122.     "5 per Second" "g_healrate 5"
  123.     "10 per Second" "g_healrate 10"
  124.     "20 per Second" "g_healrate 20"
  125. }
  126.  
  127. "Team Spawn Delay" "set" list
  128. {
  129.     "0 Seconds" "sv_team_spawn_interval 0"
  130.     "5 Seconds" "sv_team_spawn_interval 5"
  131.     "10 Seconds" "sv_team_spawn_interval 10"
  132.     "15 Seconds" "sv_team_spawn_interval 15"
  133.     "20 Seconds" "sv_team_spawn_interval 20"
  134.     "25 Seconds" "sv_team_spawn_interval 25"
  135.     "30 Seconds" "sv_team_spawn_interval 30"
  136.     "45 Seconds" "sv_team_spawn_interval 45"
  137.     "60 Seconds" "sv_team_spawn_interval 60"
  138. }
  139.